package com.mapper;

import com.domain.Type;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TypeMapper {
    //查询所有类型数据
    @Select("select * from t_type")
    public List<Type> findAllType();
}
